<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #div_1{
            background-color: #F0f0f0;
            width: 160px;
            height: 30px;
            text-align: center;
            padding: 15px 15px 10px 25px ;
            border: solid 1px #666;
            position: absolute;
            top: 50%;
            left: 50%;
            margin-left: -75px;
        }
        #div_1_1{
            float: right;
        }
        #div_1_2{
            width:fit-content;
            min-width: 15px;
            height:20px;
            padding-top: 2px;
            padding-left: 4px;
            padding-right: 4px;
            border: solid 0px;
            text-align: center;
            border-top-left-radius: 50%;
            border-top-right-radius: 50%;
            border-bottom-right-radius: 50%;
            background-color: red;
            color: white;
            position: relative;
            font-size: 13px;
            bottom: 44px;
            left: 115px;
        }
    </style>
</head>
<body>
    <div>
        <div id="div_1">
            我的购物车
            <div id="div_1_1">></div>
            <div id="div_1_2">99+</div>
        </div>
    </div>
</body>
</html>